package com.sihai.ehr.model.biz;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import com.sihai.core.BaseEntity;
import com.sihai.ehr.model.sys.Organization;

/**
 * 绩效奖金管理
 * 
 * @author henry
 * 
 */
@Entity
public class SalaryPerformance extends BaseEntity<Long> {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8913224273469202398L;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;
	/** 分公司ID */
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "organization_id")
	private Organization organization;
	
	private String title;
	/** 分数下限 |最低分*/
	private Float scoreStart;

	/** 分数上限|最高分 */
	private Float scoreEnd;

	/** 奖金额度 */
	private Float percentage;
	
	private String remark;

	@Override
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Float getScoreStart() {
		return scoreStart;
	}

	public void setScoreStart(Float scoreStart) {
		this.scoreStart = scoreStart;
	}

	public Float getScoreEnd() {
		return scoreEnd;
	}

	public void setScoreEnd(Float scoreEnd) {
		this.scoreEnd = scoreEnd;
	}

	public Float getPercentage() {
		return percentage;
	}

	public void setPercentage(Float percentage) {
		this.percentage = percentage;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	
}
